<script>
    // 复制对象
    let person = {"name" : "lucy", "age" : "20"}
    let someone = {...person}
    console.log(someone)

    // 合并对象
    let name = {name:"mary"}
    let age = {age: "20"}
    let person2 = {...name, ...age}
    console.log(person2)

</script>